package com.kx.smartdevice.service;

import com.github.pagehelper.PageInfo;
import com.kx.smartdevice.pojo.Device;

/**
 * @ClassName DevicesService
 * @Author Sun
 * @Date 2021/6/1 14:20
 */
public interface DeviceService {

    PageInfo<Device> getAllDevices(int page, int limit, String address, Integer status, int direction, int areaid, int categoryid);

    void AddDevice(Device device);

    void deleteDevices( String[] ids);

    void updateDevice(Device device);

    Device getDeviceById(Long id);

    void sendControl(String uuid, String command);
}
